import IndustryDaily from '@/components/data/industry/IndustryDaily'
import IndustryMonth from '@/components/data/industry/IndustryMonth'
import IndustryNature from '@/components/data/industry/IndustryNature'
import IndustryRegion from '@/components/data/industry/IndustryRegion'

const routers = [
  {path: 'industry-dailys', component: IndustryDaily},
  {path: 'industry-months', component: IndustryMonth},
  {path: 'industry-natures', component: IndustryNature},
  {path: 'industry-region', component: IndustryRegion}
]

const menu = {
  title: '行业报表',
  icon: 'th-large',
  flag: false,
  sons: [
    {
      title: '行业日报',
      icon: 'comments',
      path: '/data/industry-dailys',
      perm: 'industryDataAnalyse:daily',
      flag: false
    },
    {
      title: '行业月报',
      icon: 'calendar',
      path: '/data/industry-months',
      perm: 'industryDataAnalyse:month',
      flag: false
    },
    {
      title: '行业词性月报',
      icon: 'calendar',
      path: '/data/industry-natures',
      perm: 'analysisIndustryKeywordPerformance:month',
      flag: false
    },
    {
      title: '行业地域月报',
      icon: 'calendar',
      path: '/data/industry-region',
      perm: 'analysisIndustryRegionPerformance:month',
      flag: false
    }
  ]
}

export default {
  routers,
  menu
}
